package com.skywolf.chem.usercenter.pojo.param;

import com.skywolf.chem.common.sysconfig.pojo.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Arrays;

/**
 * @ClassName UserQueryParam.java
 * @Author Leo
 * @Version 1.0.0
 * @Description 用户查询参数
 * @CreateTime 2019年12月01日 21:26:00
 */
@Data
@ApiModel(value = "用户查询参数", description = "用户查询参数")
public class UserQueryParam extends PageDTO {

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户状态")
    private Integer status;

    public UserQueryParam() {
        this.setDescs(Arrays.asList("updated_time"));
    }
}
